.game-modder {
    width: 100%;
    height: 100%;
    background: #333;
    /* background: #2c3e50; */
    color: #FFF;
    font-family: Helvetica Neue,Helvetica,Arial,sans-serif;
    text-align: center;
    margin: 0;
    padding: 0;
    /* font-size: 16px; */
    display: flex;
    flex-direction: column;
    justify-items: center;
    align-items: center;
    /* TODO: media query and reasonable desktop sizing */
}

* {
    box-sizing: border-box;
}

.what-to-do-header {
    margin: 0;
    font-size: 7vw;
    line-height: 10vw;
    white-space: nowrap;
}
.tab-bar,
.sprite-gallery {
    line-height: 0px;
    width: 100%
}
.tab-bar image,
.sprite-gallery image {
    cursor: pointer;
}
/* #2c3e50 */
.tab-bar path,
.sprite-gallery path,
.sprite-editor-container,
.sprite-gallery,
.color-picker {
    /* fill: hsl(222, 45%, 48%); */
    /* background-color: hsl(222, 45%, 48%); */
    background-color: hsl(183, 64%, 39%);
    fill: hsl(183, 64%, 39%);
}
.tab-bar path,
.sprite-gallery path {
    stroke-width: 2px;
    stroke:	hsl(183, 81%, 61%);
    /* stroke:	hsl(222, 81%, 61%); */
}
.play-btn {
    width: calc(100% - 2rem);
    color: white;
    background-color: #2ecc71;
    text-align: center;
    border: none;
    border-radius: 0.2rem;
    font-size: 5rem;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    margin: 1rem;
    padding: 0.5rem 0;
}
.play-btn:hover {
    background-color:#20be63;
    /* background-color:hsl(126, 65%, 40%);*/
}
.play-btn i:before {
    width: 5rem;
    height: 5rem;
    display: block;
    margin: auto;
    padding-left: 0.5rem;
}
.play-btn > span {
    display: none;
}

@media (min-aspect-ratio: 3/5) {
    .play-btn-container {
        width: 100%;
    }
    .play-btn-container:before {
        padding-top: calc(100vh - 101.9vw - 7rem);
    }
    .play-btn {
        font-size: 3rem;
    }
    .play-btn > span,
    .play-btn i {
        display: inline-block;
    }
    .play-btn i:before {
        width: 3rem;
        height: 3rem;
    }
}

@media (min-aspect-ratio: 32/51) {
    .play-btn {
        margin: 0.5rem;
        width: calc(100% - 1rem);
        font-size: 2rem;
        min-height: 2rem;
    }
    .play-btn i:before {
        width: 2rem;
        height: 2rem;
    }
}

.sprite-editor-container {
    /* font-size: 10px; */
    display: grid;
    grid-template: 5fr 1fr / 1fr 5.7fr;
    /* grid-template: 4.25fr 0.85fr / 1fr 5.7fr; */
    width: 100%;
    justify-items: center;
    align-items: flex-start;
    /* border-bottom: solid 0.4vw #4b7bec; */
}
.sprite-editor-container .sprite-gallery {
    grid-area: 2/2;
}
.sprite-editor-container .sprite-canvas-controls {
    grid-area: 1/1/3/1;
    width: 100%;
}
.sprite-editor-container .sprite-canvas-container {
    grid-area: 1/2;
}
.sprite-editor-container,
.sprite-editor-container > * {
    padding: 0.5vw 0.5vw 0.5vw 0.5vw;
}

.sprite-canvas-container {
    display: grid;
    grid-template: 1fr / 1fr;
    width: 100%;
}
.sprite-canvas-container * {
    grid-area: 1/1;
    width: 100%;
}




/* .tab-bar {
    width: 70%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    border-width: 5px 5px 0 5px;
    border-color: green;
    border-style: solid;
    border-radius: 20px 20px 0px 0px;
}
.sprite-tab-spacer {
    width: 85px;
    height: 85px;
    border: 5px solid yellow;
}
.sprite-tab {
    width: 65px;
    height: 65px;
    border:5px solid blue;
    margin: 10px;
} */

/*
.grid {
    display: grid;
    grid-template: 20px 1fr / 1fr 600px 1fr;
}
@media screen and (max-width: 600px) {
    .grid {
        display: grid;
        grid-template-columns: 0fr 1fr 0fr;
    }
}
@media screen and (max-height: 800px) {
    .grid {
        display: grid;
        grid-template-rows: 0fr 1fr;
    }
}

.questions {
    grid-area: 2 / 2;
    display: flex;
    justify-content: center;
    flex-flow: column nowrap;
}
.questions > * {
    align-self: flex-start;
    width: 95%;
    margin: 2.5% 2.5% 0% 2.5%;
    text-align: center;
}
.questions input, button {
    font-size: 20px;
    height: 50px;
}
 */

.shake {
    animation-duration: 750ms;
    animation-name: shrink;
}

@keyframes shrink {
    0% {
        transform: scale(1);
      }
      50% {
        transform: scale(0.9);
      }
      100% {
        transform: scale(1);
      }
}